<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
</head>
<body>
<h3>修改用户</h3>
<hr/>
<form th:action="@{/users/updateUser}" method="post">

    <input type="hidden" name="id" value="${up.id}">
    姓名：<input type="text" name="nam" value="${up.nam}"/><br/>
    密码：<input type="text" name="pwd" value="${up.pwd}"/><br/>
    性别：<input type="radio" name="sex"  value="1" ${up.sex=="1"?"checked":""}/>女
    <input type="radio" name="sex"  value="0" ${up.sex=="0"?"checked":""}/>男<br/>
    生日：<input type="text" name="birth" value="${up.birth}"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>
